cc=g++
.PHONY:all
all:server_tcp client_tcp

server_tcp:TcpServerMain.cc
	$(cc) -o $@ $^ -std=c++17 -lpthread -ljsoncpp
client_tcp:TcpClientMain.cc
	$(cc) -o $@ $^ -std=c++17 -lpthread -ljsoncpp

test:Test.cc
	$(cc) -o $@ $^ -std=c++17 -lpthread -ljsoncpp


.PHONY:clean
clean:
	rm -f server_tcp client_tcp test
